package com.youboy.wechatapi.utils.kwfilter;



public class Filter {
	public KeyWord kwf = KeyWord.getInstance();

	public String f_in_com(String content, String usid) {
		return kwf.filter_in(content, "0", usid);
	}

	public String f_in_info(String content, String usid) {
		return kwf.filter_in(content, "1", usid);
	}

	public String f_out_com(String content, String usid, int sta) {
		return kwf.filter_out(content, "0", usid);
	}

	public String f_out_info(String content, String usid, int sta) {
		return kwf.filter_out(content, "1", usid);
	}

	public String f_out_com(String content, String usid) {
		return kwf.filter_out(content, "0", usid);
	}

	public String f_out_info(String content, String usid) {
		return kwf.filter_out(content, "1", usid);
	}
	
	public String f_in_noZlc(String content, String usid) {
		return kwf.filter_in_noZlc(content,"1", usid);
	}
	
	public String f_sh_com(String content, String usid) {
		return kwf.filter_jk(content, "0", usid, "<font color=#ff0000>",
				"</font>", "<font color=#00ff00>", "</font>",
				"<font color=#00ffee>", "</font>");
	}

	public String f_sh_info(String content, String usid) {
		return kwf.filter_jk(content, "1", usid, "<font color=#ff0000>",
				"</font>", "<font color=#00ff00>", "</font>",
				"<font color=#00ffee>", "</font>");
	}
}
